package com.seanzx.common;

import java.util.ArrayList;
import java.util.List;

public class Lists {

    public static<T> List<T> of(T... objects) {
        List<T> list = new ArrayList<>(objects.length);
        for (T object : objects) {
            list.add(object);
        }
        return list;
    }
}
